package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@TableName("agent_user_money_record")
@Data
public class AgentUserMoneyRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer agentId;
    private Integer userId;
    private Integer dataId;
    private BigDecimal money;
    private Integer type;   //1增加 2 减少
    private Date createtime;

}
